package cn.stylefeng.guns.modular.gridsystem.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.gridsystem.entity.BizGatewaySchedule;
import cn.stylefeng.guns.modular.gridsystem.model.param.BizGatewayScheduleParam;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * biz_gateway_schedule 服务类
 *
 * @author ssy
 * @date 2021/09/14 11:47
 */
public interface BizGatewayScheduleService extends IService<BizGatewaySchedule> {

    /**
     * 分页查询biz_gateway_schedule
     *
     * @author ssy
     * @date 2021/09/14 11:47
     */
    PageResult<BizGatewaySchedule> page(BizGatewayScheduleParam bizGatewayScheduleParam);

    /**
     * 查询所有biz_gateway_schedule
     *
     * @author ssy
     * @date 2021/09/14 11:47
     */
    List<BizGatewaySchedule> list(BizGatewayScheduleParam bizGatewayScheduleParam);

    /**
     * 添加biz_gateway_schedule
     *
     * @author ssy
     * @date 2021/09/14 11:47
     */
    void add(BizGatewayScheduleParam bizGatewayScheduleParam);

    /**
     * 删除biz_gateway_schedule
     *
     * @author ssy
     * @date 2021/09/14 11:47
     */
    void delete(BizGatewayScheduleParam bizGatewayScheduleParam);

    /**
     * 编辑biz_gateway_schedule
     *
     * @author ssy
     * @date 2021/09/14 11:47
     */
    void edit(BizGatewayScheduleParam bizGatewayScheduleParam);

    /**
     * 查看详情biz_gateway_schedule
     *
     * @author ssy
     * @date 2021/09/14 11:47
     */
    BizGatewaySchedule detail(BizGatewayScheduleParam bizGatewayScheduleParam);

    BizGatewaySchedule listByGatewayId(int gatewayId);

    Integer getCountByGateWay(Integer gatewayId);

    PageResult<Map<String, Object>> pageList(BizGatewayScheduleParam param);
}
